<?php

declare(strict_types=1);

namespace app\admin\controller;

use think\facade\Db;
use think\facade\Request;

class Ad
{
    public function getList()
    {
        $data[0]['title'] = '面如霜下雪';
        $data[0]['url'] = 'http://www.baidu.com';
        $data[1]['title'] = '吻如雪上霜';
        $data[1]['url'] = 'http://www.taobao.com';

        return jsonData(1, '查询成功', $data);
    }
}
